#ifndef _FIG_ROCKET_TOPIDO_H_
#define _FIG_ROCKET_TOPIDO_H_

#include "fig_bullet_rocket.h"

class FIGLifeObj;

// homing rocket
class FIGRocketTopido : public FIGBulletRocket 
{
public:

	const static float				SMOKE_DISTNACE;
	
	

	FIGRocketTopido(float DamagePower);
	

	virtual void					Render(const math::Vec2& Offset,float Scale);
	virtual void					RenderDebug(const math::Vec2& Offset,float Scale);
	virtual void					Tick(float dt);
	virtual void					ReSpawn(const math::Vec2& Pos,
											FIGBullet::STARTPOS StartDir,
											const math::Vec2& TargetDir
											);

	

protected:

	
	FIGLifeObj*						m_pTarget;
	float							m_RotationSpeed;
	float							m_RandomSwayDegree;
	bool							m_bSwayPlus;		// LEFT or Right
	int								m_SwayCount;
	bool							m_LastSway;
	


};

#endif